@import "./mixins.scss";
@import "./extends.scss";
@import "./main-style.scss";

body{
  font-family: '微软雅黑' !important;
  background-color: #eef1f6;
}

img{
  border: 0;
}

-webkit-input-placeholder {
　color: #D7D7D7 !important;
}

-moz-placeholder {
　color: #D7D7D7 !important;
}

-moz-placeholder {
  color: #D7D7D7 !important;
}

-ms-input-placeholder {
　color: #D7D7D7 !important;
}

.i-line{
  display: inline;
}

.div_cursor {
  cursor: default;
}

.height100{
  height: 100%;
}

.ml{
  margin-left: 10px;
}

.mr-sm{
  margin-right: 5px;
}

.mr{
  margin-right: 10px;
}

.h60{
  height: 60px !important;
}

.main{
  padding: 0;
  margin: 0;
}

.k-center{
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}

.img-preview-contain {
  text-align: center;
}

.a-menu-item, .a-submenu__title{
  height: 50px;
  line-height: 50px;
}

// dashboard

.menu-container{
  background-color: white;
  position: absolute;
  width: 150px;
  right: 0;
  top: 0;
  font-size: 14px !important;
  color: #333 !important;
  cursor: pointer;
  .user-header{
    height: 40px;
    width: 40px;
    border-radius: 40px;
  }
  .menu-title{
    color: #333;
  }
  .k-menu{
    transition: height 0.3s;
    width: 150px;
    font-size: 14px;
    line-height: 18px;
    color: #848689;
    height: 0;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.15);

    position: absolute;
    right: 0;
    top: 60px;
    .k-menu-item{
      margin: 14px;
      padding-left: 20px;
      color: #848689;
      img{
        height: 14px;
        width: 14px;
        display: inline;
      }
    }
    .k-menu-item:hover{
      color: #007CFB;
    }
  }

}

.header{
  z-index: 10;
  a{
    font-size: 14px;
    color: #333333;
    text-decoration: none;
  }
}

.breadcrumb{
  background-color: white !important;
  width: 100% !important;
  height: 50px !important;
  padding: 0 !important;
}

.breadcrumb .ant-breadcrumb{
  font-size: 14px;
  line-height: 14px;
  color: #686868;
  letter-spacing: 0;
  padding: 20px;
  a {
    color: #007CFB;
    cursor: pointer;
  }
}

.ant-menu{
  background-color: #FFFFFF;
  .a-menu-item, .a-submenu__title{
    color: #333;
    padding-left: 50px !important;
    img{
      width: 14px;
      height: 14px;
    }
  }
  .ant-menu-submenu{
    .a-submenu__title:hover{
      background-color: #F8F8F8;
    }
  }

  .ant-menu-menu-item:hover{
    background-color: #F8F8F8;
  }

  .ant-menu-submenu-selected{
    >div{
      background-color: #007CFB !important;
      color: white;
    }
  }

  .k-sidebar-a-menu-item.is-active{
    background-color: #007CFB !important;
    color: white;
  }

  .ant-menu-submenu{
    .ant-menu{
      color: #333;
      background-color: #FFFFFF;
      .ant-menu-item:hover{
        background-color: #F8F8F8;
      }

      .is-active{
        background-color: #F8F8F8;
        color: #007CFB;
      }
    }
  }
}
.a-message-box__message{
  word-break: break-all !important;
}
/* 重置部分样式，以免disable状态下看不清楚 */
.a-input.is-disabled .a-input__inner{
  /*background-color: unset;*/
  color: #333;
  /*border-color: unset;*/
}
.a-radio-button__orig-radio:disabled+.a-radio-button__inner{
  color: #333 !important;
}
.a-radio-button__orig-radio:checked:disabled+.a-radio-button__inner{
  color: #fff !important;
  background-color: #409efe !important;
  border-color: #409efe !important;
}
.a-date-editor .a-range-separator{
  width: 30px;
}
//.a-menu .a-submenu .a-menu
.a-menu{
  .a-submenu{
    .a-menu{
      .is-active{
        font-weight: bolder;
      }
    }
    .a-menu-item{
      min-width: unset;
    }
  }
}

.a-upload-dragger{
  width: 100%;
  height: 100%;
  border: none;
}
.a-table__row{
  .cell{
    .a-button.a-button--text{
      padding: 7px 0;
    }
  }
}
.upload-wx-tip{
  font-size: 16px !important;
}
.info-table{
  caption{
    caption-side: top;
    text-align: center;
  }
}

.wp100{width: 100%;}

.remind.a-table__row{
  color: red;
}


.flex{
  display: flex;
}

.flex-column-nowrap{
  flex-flow: column nowrap;
}

.felx-center{
  justify-content: center;
  align-items:center;
}